<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="main">
        <div class="heart-shape"></div>
    </div>
    
</body>
<style>
    .main{
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .heart-shape {
        position: relative;
        width: 200px;
        height: 200px;
        background-color: #f66;
        transform: rotate(45deg);
        &::before,
        &::after {
            position: absolute;
            left: 0;
            top: 0;
            border-radius: 100%;
            width: 100%;
            height: 100%;
            background-color: #f66;
            content: "";
        }
        &::before {
            transform: translateX(-50%);
        }
        &::after {
            transform: translateY(-50%);
        }
    }
</style>
</html>